﻿<?php
 class CataInfo{
    private $cataInfo;
    private $result;
    
    public function __construct($sql){
        require_once("db_config.inc");
        $this->result=mysql_query($sql,$conn);
    }
    public function get_array(){
        $this->cataInfo=mysql_fetch_array($this->result);
        //return $this->cataInfo;
    }
    public function getResult(){
        return $this->cataInfo;
    }    
 }
?>